﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nemesis;
using Nemesis.WoW.Classes;
using Nemesis.WoW.ObjectManager;
using Nemesis.WoW.Tools;
using Nemesis.Plugins.NRelog.Settings;




namespace Nemesis.Plugins.NRelog
{
    public class Entry : Nemesis.Plugins.PluginBase
    {

        internal static NRelogUI UI = new NRelogUI();

        public override string Name
        {
            get
            {
                return "NRelog";
            }
        }



        public override Nemesis.Controllers.Settings.Settings ProfileSettings
        {
            get { return MultiRelog.Settings.Instance; }
        }
		

        public override System.Windows.Forms.UserControl UIControl
        {
            get
            {
                return UI;
            }
        }


        public override void OnLoad()
        {
            
            Nemesis.Logger.WriteLine("[NRelog] NRelog Plugin loaded!");
        }



        public override void OnUnload()
        {
            Nemesis.Logger.WriteLine("[NRelog] NRelog Plugin unloaded!");
        }



        public override void Start()
        {
            SchedulerSettings.OnBotStart();
            Nemesis.Logger.WriteLine("[NRelog] NRelog Plugin started!");
        }



        public override void Stop()
        {
            Nemesis.Logger.WriteLine("[NRelog] NRelog Plugin stopped!");
            SchedulerSettings.isOnPause = false;
        }



    }
}